Skip to content

ENH: pivot_annual with a better exception message #2019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

ENH: pivot_annual with a better exception message #2019

wants to merge 1 commit into from

Conversation

timmie
Copy link
Contributor

@timmie timmie commented Oct 4, 2012

Without the extended message the user hardly understand why no integers are allowed.

Actually, I do not even understand it by now.

Can we not use values.fill(np.nan) with integers?

@changhiskhan
Copy link
Contributor

I pushed a change to allow series with integer dtypes in pivot_annual
You cannot use values.fill(np.nan) with integers because np.nan is a float.
The new change ignores the input dtype and returns float dtypes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants